#ifndef _MOL_HW_SHA_H_
#define _MOL_HW_SHA_H_


typedef enum {
    HW_HASH_MODE_SHA1 =0,
    HW_HASH_MODE_SHA256,
    HW_HASH_MODE_SHA384,
    HW_HASH_MODE_SHA512,
    HW_HASH_MODE_SHAHMAC,
} HW_HASH_MODE;


int hw_sha_mol(HW_HASH_MODE mode,void* buff,void* hkey, unsigned long buflen ,unsigned long hkeysize,char* res);


#endif